﻿using System;
using System.Collections.Generic;

namespace Avalon.Core.Providers
{
    /// <summary>
    /// The entity descriptor. Entities are the models which represent data in the database. These 
    /// entities have properties, translations and other information. The entity descriptor gets 
    /// all this information and maintains reference integrity.
    /// </summary>
    public class EntityDescriptor : IEntityDescriptor
    {
        public string Title { get; set; }
        public string Name { get; set; }
        public string Information { get; set; }
        public string Description { get; set; }

        public string ControllerName { get; set; }
        public string ControllerAlias { get; set; }

        public object Model { get; set; }
        public Type EntityType { get; set; }
    }
}
